-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
【Hackathon 7th No.28】为 paddle.clip 进行功能增强 #69193
base: develop
Are you sure you want to change the base?
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
已经全都好了,麻烦review一下 @luotao1 @zhwesky2010 |
这个还是不能在python层写,需改造已有的kernel |
改造已有kernel的话,是除了cpu,gpu的其他计算芯片也都实现吗?然后也需要实现对应的二阶推导对吗 |
改造已有的,我也想过,就是同样是expand结合where实现,传入scale的时候使用full_like转为Tensor。这样是可以的吧 |
我参考paddle.where的做法实现吧,是可以的吧? @zhwesky2010 |
他一直不变的? |
我觉得这个难度是不是标错了? |
PR Category
Inference
PR Types
Others
Description
【Hackathon 7th No.28】为 paddle.clip 进行功能增强
PaddlePaddle/docs#6924